package com.ruoyi.system.domain;

import io.swagger.models.auth.In;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName sys_contracts
 */

public class SysContracts implements Serializable {
    /**
     * 
     */

    private Integer id;

    /**
     * 股票代码
     */
    private String stockId;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 用户名
     */
    private String uname;

    /**
     * 股票名称
     */
    private String scokName;

    /**
     * 成交金额
     */
    private BigDecimal scokPrice;

    /**
     * 股票数量
     */
    private Integer num;

    /**
     * 状态0：委托中 1：已完成
     */
    private Integer status;

    /**
     * 委托时间
     */
    private Date indate;

    /**
     * 标致0买入，1：卖出
     */
    private Integer falg;


    @Override
    public String toString() {
        return "SysContracts{" +
                "id=" + id +
                ", stockId='" + stockId + '\'' +
                ", userId=" + userId +
                ", uname='" + uname + '\'' +
                ", scokName='" + scokName + '\'' +
                ", scokPrice=" + scokPrice +
                ", num=" + num +
                ", status='" + status + '\'' +
                ", indate=" + indate +
                ", falg='" + falg + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStockId() {
        return stockId;
    }

    public void setStockId(String stockId) {
        this.stockId = stockId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getScokName() {
        return scokName;
    }

    public void setScokName(String scokName) {
        this.scokName = scokName;
    }

    public BigDecimal getScokPrice() {
        return scokPrice;
    }

    public void setScokPrice(BigDecimal scokPrice) {
        this.scokPrice = scokPrice;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getIndate() {
        return indate;
    }

    public void setIndate(Date indate) {
        this.indate = indate;
    }

    public Integer getFalg() {
        return falg;
    }

    public void setFalg(Integer falg) {
        this.falg = falg;
    }

    public SysContracts() {
    }

    public SysContracts(Integer id, String stockId, Integer userId, String uname, String scokName, BigDecimal scokPrice, Integer num, Integer status, Date indate, Integer falg) {
        this.id = id;
        this.stockId = stockId;
        this.userId = userId;
        this.uname = uname;
        this.scokName = scokName;
        this.scokPrice = scokPrice;
        this.num = num;
        this.status = status;
        this.indate = indate;
        this.falg = falg;
    }
}